import { Injectable } from '@nestjs/common';
import PersonEntity from './model/entity/person.entity';

@Injectable()
export class UserService {
  createPerson() {
    const user = new PersonEntity();
    user.name = 'zhanshan';
    user.weaponId = 1;
    return user.save();
  }
}
